How
to replace a graphic image
|
If the resource item to be replaced is an icon, cursor, or a bitmap, the source can be an *.ico, *.cur or *.bmp/gif/png file respectively. The source can also be pasted from the clipboard.
1. Expand the 'Bitmap' folder (it can also be 'GIF', 'PNG', 'Cursor',
'Icon' etc.)
2. Select the graphic resource item to be replaced in the Resource Tree.
3. With this bitmap resource, select the 'Save Resource As...'
button from the button bar (first
button from left) and save the file to your desktop.
4. Use your favourite graphics editing program to edit this file. Make
sure that your new image is no bigger that the image it is replacing.
5. Back inside Resorce Tuner, highlight resource item to be replaced
and click on the Resource Editor button
on the button bar (third button from left).
6. Select the Open Source File
button (Ctrl+O) from the button bar as illustrated below and select your edited
file. Or paste the image from the clipboard (Ctrl+V).
7. Press OK to close the Resource Editor and select 'File' -> 'Save File As ...' to save the changes you've just made to the target file. If warned that the image size has changed, click "Yes" from the next dialog box to update the file size.
When replacing icons and cursors, make certain that the replacement sources are the same size and have the same number of colors as the item to be replaced (e.g. a 16x16 4 bit icon can not be replaced with a 32x32 8 bit icon).
Programs compiled using the Borland VCL store images in a resource type named RCData.
1. Expand the 'RCData' folder. Click the plus signs until it brings
down a Bitmap below it.
2. Select the Bitmap item to be replaced in the Image List.
3. With this bitmap item, select the 'Save Resource As...' button
from the button bar (first button
from left) and save the file to your desktop. Or right-click to copy to the
clipboard.
4. Use your favourite graphics editing program to edit this file. Make
sure that your new image is no bigger that the image it is replacing.
5. Back inside Resorce Tuner, highlight resource item to be replaced
and click on the Resource Editor button
on the button bar (third button from left).
6. Select the Open Source File
button (Ctrl+O) from the button bar (the icons next to the apply button as illustrated
below) and select your edited file. Or paste the image from the clipboard (Ctrl+V).
7. Press Apply, then at the bottom click OK to close the Resource Editor and select 'File' -> 'Save File As ...' to save the changes you've just made to the target file. If warned that the image size has changed, click "Yes" from the next dialog box to update the file size.